{include file="header.tpl.php"}


<div class="titleFull">

	<div class="wrapper">

		<h1 style="line-height: 100px; margin: 0px;">New Message</h1>

	</div>

</div>


<div class="titleBlueBar"></div>



<div class="content2">

	<div class="wrapper">

		<div class="h30"></div>

		<div class="boxLeft2">





			<form action="sendmessage.php?receiver={$receiver}" method="post">
			<table cellspacing="10">

			{if $error_msg ne ""}
			<tr><td colspan="2"><div class="error">{$error_msg}</div></td></tr>
			{elseif $success_msg ne ""}
			<tr><td colspan="2"><div class="success">{$success_msg}</div></td></tr>
			{/if}


			<tr><td class="label">Receiver</td><td><input type="text" name="receiver" value="{$receiver}" style="width:250px;" class="input"  maxlength="60" /></td></tr>
			<tr><td class="label">Subject</td><td><input type="text" name="subject" maxlength="250" value="{$subject}" class="input"  style="width:250px;" /></td></tr>
			<tr><td class="label">Message</td><td><textarea name="message" style="width:370px; resize:none; height:180px;">{$message}</textarea></td></tr>
			<tr><td colspan="2" style="text-align:right"><input type="button" class="button" onclick="window.location = 'messages.php'" name="cancel" value="Cancel" /> &nbsp; <input type="submit" class="button" name="send" value="Send" /></td></tr>


			</table>
			</form>




	</div>



<!--Right Panel-->
{include file="sidebar.tpl.php"}
<!--End Right Panel-->


{include file="footer.tpl.php"}